//
//  HomeViewController.m
//  BlindDate
//
//  Created by 曾飞 on 16/11/16.
//  Copyright © 2016年 artron. All rights reserved.
//

#import "HomeViewController.h"
#import "UIViewController+Base.h"

@interface HomeViewController ()

@end

@implementation HomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
   
}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.slideMenuController.pan.enabled = YES;
}

- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    self.slideMenuController.pan.enabled = NO;
}

- (IBAction)testButtonPressed:(id)sender
{
    [self.slideMenuController switchController];
}


@end
